/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "加工中心",TableName = "upper_ftpmachiningcenter")]
    public partial class upper_ftpmachiningcenter:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [Column(TypeName="int")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public int ftp_id { get; set; }

       /// <summary>
       ///工单号（外键）
       /// </summary>
       [Display(Name ="工单号（外键）")]
       [Column(TypeName="int")]
       [Editable(true)]
       public int? work_order_id { get; set; }

       /// <summary>
       ///模具编号
       /// </summary>
       [Display(Name ="模具编号")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string mold_number { get; set; }

       /// <summary>
       ///工件名称
       /// </summary>
       [Display(Name ="工件名称")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string workpiece_name { get; set; }

       /// <summary>
       ///工件尺寸
       /// </summary>
       [Display(Name ="工件尺寸")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string workpiece_size { get; set; }

       /// <summary>
       ///X碰数
       /// </summary>
       [Display(Name ="X碰数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string x_touches { get; set; }

       /// <summary>
       ///Y碰数
       /// </summary>
       [Display(Name ="Y碰数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string y_touches { get; set; }

       /// <summary>
       ///Z碰数
       /// </summary>
       [Display(Name ="Z碰数")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string z_touches { get; set; }

       /// <summary>
       ///夹装方式
       /// </summary>
       [Display(Name ="夹装方式")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string clamping_method { get; set; }

       /// <summary>
       ///坐标系名
       /// </summary>
       [Display(Name ="坐标系名")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string coordinate_name { get; set; }

       /// <summary>
       ///Z最大值
       /// </summary>
       [Display(Name ="Z最大值")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string z_max { get; set; }

       /// <summary>
       ///Z最小值
       /// </summary>
       [Display(Name ="Z最小值")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string z_min { get; set; }

       /// <summary>
       ///加工机台
       /// </summary>
       [Display(Name ="加工机台")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string processing_machines { get; set; }

       /// <summary>
       ///编程
       /// </summary>
       [Display(Name ="编程")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string program { get; set; }

       /// <summary>
       ///加工时间
       /// </summary>
       [Display(Name ="加工时间")]
       [MaxLength(255)]
       [Column(TypeName="nvarchar(255)")]
       [Editable(true)]
       public string processing_time { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? create_time { get; set; }

       /// <summary>
       ///修改时间
       /// </summary>
       [Display(Name ="修改时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? update_time { get; set; }

       /// <summary>
       ///是否删除：0：否，1：是
       /// </summary>
       [Display(Name ="是否删除：0：否，1：是")]
       [Column(TypeName="bool")]
       [Editable(true)]
       public bool? is_deleted { get; set; }

       
    }
}